import axios from '@/libs/axios'

//角色列表
export const roleList = params => { return axios.post('api/system/roleList', params).then(res => res.data) };
//角色搜索
export const roleSearch = params => { return axios.post('api/system/roleSearch', params).then(res => res.data) };
//角色修改/新建
export const roleSave = params => { return axios.post('api/system/roleSave', params).then(res => res.data) };
//角色权限值
export const rolePermission = params => { return axios.post('api/system/rolePermission', params).then(res => res.data) };
//修改角色权限
export const rolePermissionSave = params => { return axios.post('api/system/rolePermissionSave', params).then(res => res.data) };

